#!/root/bin/php
<html>
<head>
<style>
body { background:black; margin:0px;  }
a { color:white; font-weight:bold; text-decoration:none; font-family: Verdana, Arial, Helvetica; font-size:0.9em; }
a:active { color: yellow; }
a:hover { color: yellow; }
#logo { font-size:1.2em; font-weight:bold; color: white; margin-right:50px;}
h1 { font-size:0.9em; color: black; vertical-align:top;}
.win { background-color:white; filter:alpha-opacity:0.8; -moz-opacity:0.8; moz-opacity:0.8; padding:0px;}
td { padding:0.5em; margin:1em;}
</style>
</head>
<body>
<center>
<table width="60%" >
<tr><td class="win"><h1>SYSTEM</h1>
	<pre>
	<?php  system("/bin/uname -a"); ?>
	<?php  system("/usr/bin/uptime"); ?>
	</pre>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td class="win"><h1>NETWORK</h1>
	<pre>
	<?php system("/sbin/ifconfig eth0"); ?>
	<?php system("/sbin/ifconfig ppp0"); ?>
	</pre>
</td></tr>
<tr><td>&nbsp;</td></tr>                                                                                                     
<tr><td class="win"><h1>DEVICES</h1>                                                                                         
        <pre>                                                                                                                
        <?php  print "GPS:";  system("/bin/cat /var/gps_sats_in_view");                                                                               
          print "	GPRS:"; system("/bin/cat /var/gprs_available");                                                                               
          print  "	SYNC:"; system("/bin/cat /var/sync_time"); ?></pre>                                                                                                               
</td></tr>
</table>
</center>
</body>
